<?php
class Dig_model extends MY_Model {

    function __construct(){
        parent::__construct();
    }

    function get_good_diger($tid){
        $query = $this->db->from('dig d')
            ->select('d.*,m.*')
            ->join('member m','m.id=d.poster_id','left')
            ->where(array('tid'=>$tid))
            ->get();
        $list = $query->result();
        return $list;
    } 
        
}